package com.ls.customer.repository;


import com.ls.customer.entity.CustInter;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 钰杰
 * @className CustInter
 * @description VX:FengYJ996
 * @date 2020/1/1213:46
 */
@Repository
public interface CustInterRepository extends JpaRepository<CustInter,Integer> {

    CustInter findByCustIdAndInterId(String appid,Integer interid);

    List<CustInter> findAllByCustId(String appid);

}
